﻿using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Xml;

namespace Rss.Domain
{

    /// <summary>
    /// 
    /// </summary>
    public class RssInfo
    {

        #region 属性
        /// <summary>
        /// 
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Type { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string Blog { get; set; }
        #endregion

        #region 方法
        /// <summary>
        /// <![CDATA[获取博客列表]]>
        /// </summary>
        /// <returns></returns>
        public IEnumerable<Rss.Domain.Blog> TryCatchBlogs(Infrastructure.IBlogParser parser)
        {
            return parser.TryCatchBlogs(this);
        }
        #endregion
    }
}
